<?php
	include '../../db.php';
	$sName = $_POST['sName'];
	$sEmail = $_POST['sEmail'];
	$sUser = $_POST['sUser'];
	$sPass = $_POST['sPass'];
	
	$sql = sprintf("INSERT INTO sales (salesName, salesEmail, salesUser, salesPassword) VALUES ('%s','%s','%s', '%s')",
            mysql_real_escape_string($sName),
            mysql_real_escape_string($sEmail),
			mysql_real_escape_string($sUser),
			mysql_real_escape_string($sPass));
	@mysql_query($sql);	
	header("Location:../../led-master.php?mngr=sale&subpg=add&action=saleaddsuccess");		
?>